<?php
namespace backend\controllers;
use yii\web\Controller;
use yii\helpers\ArrayHelper;

/**
 * Site controller
 */
class BaseController extends Controller
{

    public function behaviors()
    {

        return array_merge(parent::behaviors(),[
            'test' => [
                'class' => 'backend\filters\RbacFilter',
            ]
        ]);
    }
}
